﻿<%@ Page Language="C#" MasterPageFile="~/hgmanage/Main.Master" AutoEventWireup="true" CodeBehind="favorites.aspx.cs" Inherits="huaguwang.hgmanage.Favorites.favorites" Title="无标题页" %>
<%@ Register Assembly="HGWebControls" Namespace="huaguwang.WebControls" TagPrefix="cc1" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer"%>
<%@ Import Namespace="huaguwang" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Body" runat="server">
<input id="HiddenID" name="HiddenID" type="hidden" value="" />
    <cc1:WebUserToolBar ID="WebUserToolBar1" runat="server" 
        onbutton0="WebUserToolBar1_Button0" onbutton1="WebUserToolBar1_Button1"  
        onbutton2="WebUserToolBar1_Button2" onbutton3="WebUserToolBar1_Button3"   
        onloaderr="wutbUserInfo_LoadErr"  
        ButtonCSS="btn_done" CssClass="toolbar" >
    </cc1:WebUserToolBar>
    <div class="search_box">
        <ul>
             <li>
             <p><em>收藏信息名称</em><asp:TextBox ID="txtTitle" runat="server"></asp:TextBox></p>
            </li>
            <li><em>收藏类别</em>
            <asp:DropDownList ID="dopCate" runat="server">
                    <asp:ListItem>视频</asp:ListItem>
                    <asp:ListItem>电子书</asp:ListItem>
                    <asp:ListItem>公式</asp:ListItem>
                    <asp:ListItem>软件</asp:ListItem>
            </asp:DropDownList>
            </li>
        </ul>
    </div>
    <div class="result_list" id="ClassPanel">
        <dl class="mul_table">
            <asp:Repeater ID="rptFavorites" runat="server">
                <HeaderTemplate>
                    <dt>
                        <ul>
                            <li style="width: 10%">选择<input id="CheckboxALL" name="DataCheckALL" type="checkbox" onclick="javascript:CheckAllDefault(this);" /></li>
                            <li style="width:10%">编号</li>
                            <li style="width: 10%">收藏类别</li>
                            <li style="width: 30%">收藏项目</li>
                            <li style="width: 10%">收藏人</li>
                            <li style="width: 10%">收藏时间</li>
                        </ul>
                    </dt>
                </HeaderTemplate>
                <ItemTemplate>                            
                      <dd <%#(Container.ItemIndex % 2==0)?"class='odd'":"" %>
                       onmouseover="javascript:limouseover(this);" onmouseout="javascript:limouseout(this);">
                        <ul>
                            <li style="width: 10%">
                                <input id="Checkbox1" name="DataCheck" type="checkbox" value="<%#Eval("id") %>" />
                            </li>
                            <li style="width:10%"><%#Eval("id")%></li>  
                            <li style="width: 10%;">
                            <%#Eval("CateName")%></li>
                            <li style="width:30%;">
                            <%#Eval("InfoID")%></li>
                            <li style="width:10%;">
                            <%#Eval("MemberID")%></li>  
                            <li style="width: 10%; ">
                            <%#Eval("AddDate")%></li> 
                        </ul>
                    </dd>
                </ItemTemplate>
                <FooterTemplate>
                   <asp:Label ID="lblEmpty" Text="暂无数据" runat="server"  style="color:Red; font-size:15px; text-align:center; font-weight:bold;"  Visible='<%#(rptFavorites.Items.Count==0).Exp_BoolTryParse()%>'></asp:Label>
                </FooterTemplate>
            </asp:Repeater>
        </dl>
    </div>
    <div class="pagebar">
        <webdiyer:AspNetPager ID="Pager" runat="server" AlwaysShow="true" FirstPageText="首页" 
                 HorizontalAlign="Right" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页" 
                 ShowCustomInfoSection="Left" showinputbox="Never" ShowNavigationToolTip="True" PageSize="10" 
                  CustomInfoHTML="第%CurrentPageIndex%页/共%PageCount%页/共%RecordCount%条记录"
                 OnPageChanging="Pager_PageChanging" ShowPageIndexBox="Never" CustomInfoSectionWidth="40%" 
                 SubmitButtonText="" CustomInfoStyle="text-align:left">
        </webdiyer:AspNetPager>      
    </div>
</asp:Content>
